<?php

namespace App\Request\auth\Service\Ai;

use App\Repository\Ai\AppModelRepository;
use App\Request\ai\AppModelRequest;
use App\Request\auth\Service\IService;
use Hyperf\Collection\Collection;


/**
 * 应用模型服务
 */
final class AppModelService extends IService
{
    public function __construct(
        protected readonly AppModelRepository $repository,
    )
    {
    }

    public function getList(array $paras, array $filed = ["*"]): Collection
    {
        return $this->repository->list($paras, $filed)->append(['manufacturer_name']);
    }


}